<template>
  <el-dialog
      title="提示"
      :visible.sync="dialogVisible"
      fullscreen
      append-to-body
      destroy-on-close
      :before-close="handleClose">
<!--    <avue-form-design v-if="formOptions" :options="formOptions">-->

<!--    </avue-form-design>-->
    <span slot="footer" class="dialog-footer">
    <el-button @click="dialogVisible = false">取 消</el-button>
    <el-button type="primary" @click="dialogVisible = false">确 定</el-button>
  </span>
  </el-dialog>


</template>

<script>
// import AvueFormDesign from "@/components/form-design";

export default {
  name: "designTable",
  // components: {AvueFormDesign},
  data() {
    return {
      dialogVisible: false,

      formOptions: null,
    }
  },
  methods: {
    design(table) {
      this.dialogVisible = true
    },
    handleClose() {
      this.formOptions = null;
      this.dialogVisible = false;
    },
  }
}
</script>

<style scoped>

</style>